package com.fs.http;

import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;

/**
 * @author shuai.fang
 * @date：2017-01-11
 * @description：
 */
public class HttpTest {

	public static void main(String[] args) {
		ScheduledExecutorService executor = Executors.newScheduledThreadPool(1);
		executor.schedule(new Runnable() {
			public void run() {
				for (int i = 0; i < 20; i++) {

				}
			}
		}, 1, TimeUnit.SECONDS);
	}

}
